provider SCIM PATCH /api/0/organizations/{organization_id_or_slug}/scim/v2/Groups/{team_id_or_slug}
@utdk/sentry /api/0/organizations/{organization_id_or_slug}/scim/v2/Groups/{team_id_or_slug}
Update a Team's Attributes
Update a team's attributes with a SCIM Group PATCH Request.
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
team_id_or_slug path required
The ID or slug of the team the resource belongs to.
string

Try it

Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updateATeamSAttributes
PATCH/api/0/organizations/{organization_id_or_slug}/scim/v2/Groups/{team_id_or_slug}
Update a team's attributes with a SCIM Group PATCH Request.

Parameters

required

The ID or slug of the organization the resource belongs to.

required

The ID or slug of the team the resource belongs to.

Input

required

The list of operations to perform. Valid operations are: * Renaming a team: ```json { "Operations": [{ "op": "replace", "value": { "id": 23, "displayName": "newName" } }] } ``` * Adding a member to a team: ```json { "Operations": [{ "op": "add", "path": "members", "value": [ { "value": 23, "display": "testexample@example.com" } ] }] } ``` * Removing a member from a team: ```json { "Operations": [{ "op": "remove", "path": "members[value eq "23"]" }] } ``` * Replacing an entire member set of a team: ```json { "Operations": [{ "op": "replace", "path": "members", "value": [ { "value": 23, "display": "testexample2@sentry.io" }, { "value": 24, "display": "testexample3@sentry.io" } ] }] } ```

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.updateATeamSAttributes()